package com.itheima.homework.homework9;

public class Phone {
    private  String  brand;
    private double price;
    int size=6;

    public Phone() {
    }

    public Phone(String brand, double price) {
        this.brand = brand;
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public  void  sendMessage(){
        System.out.println("发信息");
    }
    public  void call(){
        System.out.println("打电话");
    }
}
